package com.atjinggu.jinggumail.product.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author jingming
 * @Type SeckillFeignService.java
 * @Desc
 * @date 2021/3/24 10:59
 */
@FeignClient("jinggumail-seckill")
public interface SeckillFeignService {

    @GetMapping("/seckill/getSeckkillInfo/{skuId}")
    R getSeckkillInfo(@PathVariable("skuId") String skuId);

}
